package com.example.service;

import com.example.msg.PageBean;
import com.example.msg.Result;

public interface UserService {

    /**
     * 分页查询
     *
     * @param page
     * @param pageSize
     * @return
     */
    PageBean list(Integer page, Integer pageSize);

    Result deleteById(Integer id) throws Exception;
}
